package com.ldk.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @Autowired
    UserController userController;

    @RequestMapping("/index")

    public String test(){
        System.out.println(userController);
        System.out.println("nihao");
        return "你好";
    }
}
